﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAO
{
    public class UsersDAO
    {
        CameraDBEntities db = new CameraDBEntities();
        public User DangNhap(string acc, string pass)
        {
            return db.Users.SingleOrDefault(x=>x.userAccount == acc && x.userPass== pass);
        }
    }
}
